import java.util.Random;

import javax.swing.JComponent;

public class Game extends JComponent {
	private Player p;
	private int turns, offer;
	private Case[] cases = new Case[26];
	private static final double[] values = { .01, 1, 5, 10, 25, 50, 75, 100,
			200, 300, 400, 500, 750, 1000, 5000, 10000, 25000, 50000, 75000,
			100000, 200000, 300000, 400000, 500000, 750000, 1000000 };

	public Game(Player p) {
		this.p = p;
		initCases();
	}

	private void initCases(){
		Random r = new Random();
		for(int i = 0; i < 26; i++){
			int rand = r.nextInt(27);
			cases[i] = new Case(i+1,values[rand]);
		}
	}
	
	private int banker(){
		return 0;
	}
	
	
}
